package Simulator.MdtGUI;

import java.awt.Graphics;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;

public class MDTGUITopPanel extends JPanel {

	private static String logoName = "MdtSystemLogo.png";
	private Image logo;
	public MDTGUITopPanel()
	{
		ImageIcon back = new ImageIcon(this.getClass().getResource(logoName));
        logo = back.getImage();
	}
	
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		g.drawImage(logo,20, 0, this);

	}
}
